package com.movie.ticket.sale.assembly.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.movie.ticket.sale.assembly.entity.Discount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author muzi
 * @since 2020-12-08
 */
public interface DiscountMapper extends BaseMapper<Discount> {
    IPage<Discount> findDiscounts(Page<Discount> page,Integer userId);
}
